package com.example.bootadmin.util;

import java.util.List;

public class AdminPage {
    /**
     * 页码
     */
    private Integer pages;
    /**
     * 每页条数
     */
    private Integer size;
    /**
     * 总数
     */
    private Integer  total;
    private List<?> records;

    public AdminPage(Integer total, List<?> records) {
        this.total = total;
        this.records = records;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<?> getRecords() {
        return records;
    }

    public void setRecords(List<?> records) {
        this.records = records;
    }
}
